解决VirtualBox下CentOS分辨率全屏设置 |
您所在的位置:网站首页 › centos8 分辨率 › 解决VirtualBox下CentOS分辨率全屏设置 |
最近在学点linux下简单操作,不过暂时还不能摆脱Windows,就先在虚拟机在摆弄linux,不过CentOS在VirtualBox中安装后不能适应当前的机器分辨率(我的是1366x768),如果想要看到整个桌面只能调成1024x768,不过对于目前的情况显然太窄。 好在找到了解决方法: 在/etc/X11目录中创建xorg.config文件,并在xorg.config中写入以下配置,重启CentOS发现分辨率就已经设置为1366x768了 Section "Monitor" Identifier "Monitor[0]" ModeName "VirtualBox Virtual Output" VendorName "Oracle Corporation" EndSection Section "Device" BoardName "VirtualBox Graphics" Driver "vboxvideo" Identifier "Device[0]" VendorName "Oracle Corporation" EndSection Section "Screen" SubSection "Display" Depth 24 Modes "800x600" "1366x768" EndSubSection Device "Device[0]" Identifier "Screen[0]"
如果还不能成功设置分辨率可能是因为增强功能没安装成功,参见【Building the main Guest Additions module FAILED问题】 |
今日新闻 |
推荐新闻 |
CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3 |